import type { Type } from "./type";
import type { User } from "./user";

export interface IssueForm {
    title: string,
    content: string,
    typeId: string,
    userId: string
}

export interface Issue extends IssueForm{
    _id: string,
    user: User,
    type: Type,
    createdAt: string
    pv: number
}

export interface Pager {
    page: number
    size: number
    type?: string
    searchValue?: string
}